﻿using System;
using System.Runtime.Serialization;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ProductOperationTimeItem")]
    public class ProductOperationTimeItem
    {
        [DataMember(IsRequired = true)]
        public int ProductOperationTimeId { get; set; }

        [DataMember(IsRequired = true)]
        public int ProductId { get; set; }

        [DataMember(IsRequired = true)]
        public int? OperationId { get; set; }

        [DataMember(IsRequired = true)]
        public short? OperationPass { get; set; }

        [DataMember(IsRequired = true)]
        public decimal Rate { get; set; }

        [DataMember(IsRequired = true)]
        public int SetupTime { get; set; }

        [DataMember(IsRequired = true)]
        public int PartTime { get; set; }

        [DataMember(IsRequired = true)]
        public int CycleTime { get; set; }

        [DataMember(IsRequired = true)]
        public int LoadUnloadTime { get; set; }

        [DataMember(IsRequired = true)]
        public byte[] TimeStamp { get; set; }
    }
}
